]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspace, workspaceThumbnail: Fix another bad rebase
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 14 Jan 2013 17:38:02 +0000 (12:38 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 7 Feb 2013 07:31:52 +0000 (02:31 -0500)
It seems I pushed an old version of the patch by accident.

js/ui/workspace.js
js/ui/workspaceThumbnail.js

index 8342b188359a7a2236e65c9a59f3e5dbe645c791..abc0cb44099057f35062a05fea7f8b0ebff60190 100644 (file)
@@ -1531,11 +1531,11 @@ const Workspace = new Lang.Class({
         this.leavingOverview = false;
     },
 
-    // Tests if @win belongs to this workspaces and monitor
+    // Tests if @actor belongs to this workspaces and monitor
     _isMyWindow : function (actor) {
         let win = actor.meta_window;
         return (this.metaWorkspace == null || win.located_on_workspace(this.metaWorkspace)) &&
-            (!win.get_monitor() == this.monitorIndex);
+            (win.get_monitor() == this.monitorIndex);
     },
 
     // Tests if @win should be shown in the Overview
index 03d1fc002075af2e97eae4dd54afde09b806ac71..987c886ff6e110b15e826eea3d20163a9233c2b7 100644 (file)
@@ -380,11 +380,11 @@ const WorkspaceThumbnail = new Lang.Class({
         this.actor = null;
     },
 
-    // Tests if @win belongs to this workspace and monitor
+    // Tests if @actor belongs to this workspace and monitor
     _isMyWindow : function (actor) {
         let win = actor.meta_window;
         return win.located_on_workspace(this.metaWorkspace) &&
-            (!win.get_monitor() == this.monitorIndex);
+            (win.get_monitor() == this.monitorIndex);
     },
 
     // Tests if @win should be shown in the Overview